package com.ruoyi.project.hcy.product.mapper;

import com.ruoyi.project.hcy.product.domain.favorites.ProFavorites;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName ProFavoritesMapper
 * @Author SAI
 * @Date 2020/9/20 14:15
 * @Description ProFavoritesMapper
 * @Version 1.0
 */
@Repository
public interface ProFavoritesMapper {
    ProFavorites checkFavoritesUnique(Long productId);

    int addFavorites(Long productId);

    List<ProFavorites> selectFavoritesList();
}
